package cn.cupk.corporateshuttlemanagesystem.service;

import cn.cupk.corporateshuttlemanagesystem.pojo.Companies;
import cn.cupk.corporateshuttlemanagesystem.pojo.Users;

public interface UserService {
    Users findUserByUsername(String username);

    Companies findCompanyByName(String companyName);

    void addUser(Users user);

    void updateUser(Users user); //更新用户信息

    Users findUserById(Integer userId); //根据ID查询用户

    Companies findCompanyById(int companyId);
}
